//
//  WRRouterTests.m
//  WRRouterTests
//
//  Created by wangrui on 2017/3/18.
//  Copyright © 2017年 wangrui. All rights reserved.
//

#import "BasicTest.h"
#import "WRRouter.h"

// 测试 WRRouter 文件
@interface WRRouterTests : BasicTest

@end

@implementation WRRouterTests

- (void)setUp
{
    [super setUp];
}

- (void)tearDown
{
    [super tearDown];
}

#pragma mark - 测试 + shareInstance 方法
- (void)testShareInstance
{
    WRRouter* router1 = [WRRouter shareInstance];
    assertNotNil(router1);
    WRRouter* router2 = [WRRouter shareInstance];
    assertNotNil(router2);
    assertEqualObjects(router1, router2);
}


@end
